package cn.imnaer.service.rest.feedback;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

@Path(value = "/feedback")
public interface FeedbackComponentRestApi {
    @POST
    @Produces("application/json;charset=UTF-8")
    @Path("/commit")
    @Consumes(MediaType.MULTIPART_FORM_DATA)
    public String feedback(String feedbackJson);

    @GET
    @Produces("application/json;charset=UTF-8")
    @Path("/version")
    public String getLastVersion();
    @GET
    @Produces("application/json;charset=UTF-8")
    @Path("/small/version")
	String getSmallVersion();
}
